<?php get_main_menu("admin");
mysql_select_db($database_drycleaners_conn, $drycleaners_conn);
$query_theme = "SELECT value FROM options_settings where name='table_theme'";
$theme = mysql_query($query_theme, $drycleaners_conn) or die(mysql_error());
$row_theme = mysql_fetch_assoc($theme);
$totalRows_theme = mysql_num_rows($theme);
 ?>
   <br/>
   <div style="width:90%; margin-left:auto; margin-right:auto;">
    <div class="form_title">
            <?php echo $_REQUEST["action"];?> Theme <?php echo $row_get_role_by_id['name']?>
    </div>
    <div class="box">
<?php
 if(isset($_REQUEST["update"])){
			mysql_select_db($database_drycleaners_conn, $drycleaners_conn);
			$query_update_user="update options_settings set value='".$_REQUEST['table_theme']."' WHERE options_settings.name='table_theme'";
			$results_user=mysql_query($query_update_user,$drycleaners_conn) or die(mysql_error());
				redirect_drycleaners("theme_view","2");
 			}
?>
<form action="<?php echo $editFormAction; ?>" method="post" name="Theme" id="theme_form">
  <table width="395" align="left">
    <tr valign="baseline">
      <td width="41" align="left" nowrap="nowrap">Theme</td>
      <td width="312"><select name="table_theme">
      <option value="">--------------------------------</option>
        <option value="base" <?php if (!(strcmp("base", $row_theme['value']))) {echo "selected=\"selected\"";} ?>>Grey</option>
        <option value="black-tie" <?php if (!(strcmp("black-tie", $row_theme['value']))) {echo "selected=\"selected\"";} ?>>Black Tie</option>
        <option value="blitzer" <?php if (!(strcmp("blitzer", $row_theme['value']))) {echo "selected=\"selected\"";} ?>>Red Theme</option>
        <option value="cupertino" <?php if (!(strcmp("cupertino", $row_theme['value']))) {echo "selected=\"selected\"";} ?>>Light Blue</option>
        <option value="dark-hive" <?php if (!(strcmp("dark-hive", $row_theme['value']))) {echo "selected=\"selected\"";} ?>>Dark Hive Black</option>
        <option value="dot-luv" <?php if (!(strcmp("dot-luv", $row_theme['value']))) {echo "selected=\"selected\"";} ?>>Dot Luv</option>
        <option value="eggplant" <?php if (!(strcmp("eggplant", $row_theme['value']))) {echo "selected=\"selected\"";} ?>>Eggplant</option>
        <option value="excite-bike" <?php if (!(strcmp("excite-bike", $row_theme['value']))) {echo "selected=\"selected\"";} ?>>White Excite bike</option>
        <option value="flick" <?php if (!(strcmp("flick", $row_theme['value']))) {echo "selected=\"selected\"";} ?>>flick</option>
        <option value="hot-sneaks" <?php if (!(strcmp("hot-sneaks", $row_theme['value']))) {echo "selected=\"selected\"";} ?>> Dark Blue Hot Sneaks</option>
        <option value="humanity" <?php if (!(strcmp("humanity", $row_theme['value']))) {echo "selected=\"selected\"";} ?>>Orange Humanity</option>
        <option value="le-frog" <?php if (!(strcmp("le-frog", $row_theme['value']))) {echo "selected=\"selected\"";} ?>>Green Le frog</option>
        <option value="mint-choc" <?php if (!(strcmp("mint-choc", $row_theme['value']))) {echo "selected=\"selected\"";} ?>> Mint Chocolate</option>
        <option value="overcast" <?php if (!(strcmp("overcast", $row_theme['value']))) {echo "selected=\"selected\"";} ?>>Grey Overcast</option>
        <option value="pepper-grinder" <?php if (!(strcmp("pepper-grinder", $row_theme['value']))) {echo "selected=\"selected\"";} ?>>Papper Grinder</option>
        <option value="redmond" <?php if (!(strcmp("redmond", $row_theme['value']))) {echo "selected=\"selected\"";} ?>>Light Blue Redmond</option>
        <option value="south-street" <?php if (!(strcmp("south-street", $row_theme['value']))) {echo "selected=\"selected\"";} ?>>Green South Street</option>
        <option value="sunny" <?php if (!(strcmp("sunny", $row_theme['value']))) {echo "selected=\"selected\"";} ?>> Light Orange Sunny</option>
        <option value="swanky-purse" <?php if (!(strcmp("swanky-purse", $row_theme['value']))) {echo "selected=\"selected\"";} ?>>Swanky purse</option>
        <option value="trontastic" <?php if (!(strcmp("trontastic", $row_theme['value']))) {echo "selected=\"selected\"";} ?>>Light Green Trontastic</option>
        <option value="vader" <?php if (!(strcmp("vader", $row_theme['value']))) {echo "selected=\"selected\"";} ?>>Gray vader</option>
      </select>&nbsp;&nbsp;&nbsp;<input name='update' type='submit' value='UPDATE' id='submit'/></td>
    </tr>
  </table>
  <input type="hidden" name="record_status" value="active" />
</form>


<?php include"includes/table_settings.php"?>                
<table cellpadding="0" cellspacing="0" border="0" id="dataTable">
	<thead>
		<tr>
			<th>Rendering engine</th>
			<th>Browser</th>
			<th>Platform(s)</th>
			<th>Engine version</th>
			<th>CSS grade</th>

		</tr>
	</thead>
	<tbody>
	<!--Loop start, you could use a repeat region here-->
		<tr>
			<td>Trident</td>
			<td>Internet
				 Explorer 4.0</td>
			<td>Win 95+</td>

			<td>4</td>
			<td>X</td>
		</tr>
		<tr>
			<td>Trident</td>
			<td>Internet
				 Explorer 5.0</td>
			<td>Win 95+</td>

			<td>5</td>
			<td>C</td>
		</tr>
		<tr>
			<td>Trident</td>
			<td>Internet
				 Explorer 5.5</td>
			<td>Win 95+</td>

			<td>5.5</td>
			<td>A</td>
		</tr>
		<tr>
			<td>Trident</td>
			<td>Internet
				 Explorer 6</td>
			<td>Win 98+</td>

			<td>6</td>
			<td>A</td>
		</tr>
		<tr>
			<td>Trident</td>
			<td>Internet Explorer 7</td>
			<td>Win XP SP2+</td>

			<td>7</td>
			<td>A</td>
		</tr>
		<tr>
			<td>Trident</td>
			<td>AOL browser (AOL desktop)</td>
			<td>Win XP</td>

			<td>6</td>
			<td>A</td>
		</tr>
		<tr>
			<td>Gecko</td>
			<td>Firefox 1.0</td>
			<td>Win 98+ / OSX.2+</td>

			<td>1.7</td>
			<td>A</td>
		</tr>
		<tr>
			<td>Gecko</td>
			<td>Firefox 1.5</td>
			<td>Win 98+ / OSX.2+</td>

			<td>1.8</td>
			<td>A</td>
		</tr>
		<tr>
			<td>Gecko</td>
			<td>Firefox 2.0</td>
			<td>Win 98+ / OSX.2+</td>

			<td>1.8</td>
			<td>A</td>
		</tr>
		<tr>
			<td>Gecko</td>
			<td>Firefox 3.0</td>
			<td>Win 2k+ / OSX.3+</td>

			<td>1.9</td>
			<td>A</td>
		</tr>
		<tr>
			<td>Gecko</td>
			<td>Camino 1.0</td>
			<td>OSX.2+</td>

			<td>1.8</td>
			<td>A</td>
		</tr>
		<tr>
			<td>Gecko</td>
			<td>Camino 1.5</td>
			<td>OSX.3+</td>

			<td>1.8</td>
			<td>A</td>
		</tr>
		<tr>
			<td>Gecko</td>
			<td>Netscape 7.2</td>
			<td>Win 95+ / Mac OS 8.6-9.2</td>

			<td>1.7</td>
			<td>A</td>
		</tr>
		<tr>
			<td>Gecko</td>
			<td>Netscape Browser 8</td>
			<td>Win 98SE+</td>

			<td>1.7</td>
			<td>A</td>
		</tr>
		<tr>
			<td>Gecko</td>
			<td>Netscape Navigator 9</td>
			<td>Win 98+ / OSX.2+</td>

			<td>1.8</td>
			<td>A</td>
		</tr>
		<tr>
			<td>Gecko</td>
			<td>Mozilla 1.0</td>
			<td>Win 95+ / OSX.1+</td>

			<td>1</td>
			<td>A</td>
		</tr>
		<tr>
			<td>Gecko</td>
			<td>Mozilla 1.1</td>
			<td>Win 95+ / OSX.1+</td>

			<td>1.1</td>
			<td>A</td>
		</tr>
		<tr>
			<td>Gecko</td>
			<td>Mozilla 1.2</td>
			<td>Win 95+ / OSX.1+</td>

			<td>1.2</td>
			<td>A</td>
		</tr>
		<tr>
			<td>Gecko</td>
			<td>Mozilla 1.3</td>
			<td>Win 95+ / OSX.1+</td>

			<td>1.3</td>
			<td>A</td>
		</tr>
		<tr>
			<td>Gecko</td>
			<td>Mozilla 1.4</td>
			<td>Win 95+ / OSX.1+</td>

			<td>1.4</td>
			<td>A</td>
		</tr>
		<tr>
			<td>Gecko</td>
			<td>Mozilla 1.5</td>
			<td>Win 95+ / OSX.1+</td>

			<td>1.5</td>
			<td>A</td>
		</tr>
		<tr>
			<td>Gecko</td>
			<td>Mozilla 1.6</td>
			<td>Win 95+ / OSX.1+</td>

			<td>1.6</td>
			<td>A</td>
		</tr>
		<tr>
			<td>Gecko</td>
			<td>Mozilla 1.7</td>
			<td>Win 98+ / OSX.1+</td>

			<td>1.7</td>
			<td>A</td>
		</tr>
		<tr>
			<td>Gecko</td>
			<td>Mozilla 1.8</td>
			<td>Win 98+ / OSX.1+</td>

			<td>1.8</td>
			<td>A</td>
		</tr>
		<tr>
			<td>Gecko</td>
			<td>Seamonkey 1.1</td>
			<td>Win 98+ / OSX.2+</td>

			<td>1.8</td>
			<td>A</td>
		</tr>
		<tr>
			<td>Gecko</td>
			<td>Epiphany 2.20</td>
			<td>Gnome</td>

			<td>1.8</td>
			<td>A</td>
		</tr>
		<tr>
			<td>Webkit</td>
			<td>Safari 1.2</td>
			<td>OSX.3</td>

			<td>125.5</td>
			<td>A</td>
		</tr>
		<tr>
			<td>Webkit</td>
			<td>Safari 1.3</td>
			<td>OSX.3</td>

			<td>312.8</td>
			<td>A</td>
		</tr>
		<tr>
			<td>Webkit</td>
			<td>Safari 2.0</td>
			<td>OSX.4+</td>

			<td>419.3</td>
			<td>A</td>
		</tr>
		<tr>
			<td>Webkit</td>
			<td>Safari 3.0</td>
			<td>OSX.4+</td>

			<td>522.1</td>
			<td>A</td>
		</tr>
		<tr>
			<td>Webkit</td>
			<td>OmniWeb 5.5</td>
			<td>OSX.4+</td>

			<td>420</td>
			<td>A</td>
		</tr>
		<tr>
			<td>Webkit</td>
			<td>iPod Touch / iPhone</td>
			<td>iPod</td>

			<td>420.1</td>
			<td>A</td>
		</tr>
		<tr>
			<td>Webkit</td>
			<td>S60</td>
			<td>S60</td>

			<td>413</td>
			<td>A</td>
		</tr>
		<tr>
			<td>Presto</td>
			<td>Opera 7.0</td>
			<td>Win 95+ / OSX.1+</td>

			<td>-</td>
			<td>A</td>
		</tr>
		<tr>
			<td>Presto</td>
			<td>Opera 7.5</td>
			<td>Win 95+ / OSX.2+</td>

			<td>-</td>
			<td>A</td>
		</tr>
		<tr>
			<td>Presto</td>
			<td>Opera 8.0</td>
			<td>Win 95+ / OSX.2+</td>

			<td>-</td>
			<td>A</td>
		</tr>
		<tr>
			<td>Presto</td>
			<td>Opera 8.5</td>
			<td>Win 95+ / OSX.2+</td>

			<td>-</td>
			<td>A</td>
		</tr>
		<tr>
			<td>Presto</td>
			<td>Opera 9.0</td>
			<td>Win 95+ / OSX.3+</td>

			<td>-</td>
			<td>A</td>
		</tr>
		<tr>
			<td>Presto</td>
			<td>Opera 9.2</td>
			<td>Win 88+ / OSX.3+</td>

			<td>-</td>
			<td>A</td>
		</tr>
		<tr>
			<td>Presto</td>
			<td>Opera 9.5</td>
			<td>Win 88+ / OSX.3+</td>

			<td>-</td>
			<td>A</td>
		</tr>
		<tr>
			<td>Presto</td>
			<td>Opera for Wii</td>
			<td>Wii</td>

			<td>-</td>
			<td>A</td>
		</tr>
		<tr>
			<td>Presto</td>
			<td>Nokia N800</td>
			<td>N800</td>

			<td>-</td>
			<td>A</td>
		</tr>
		<tr>
			<td>Presto</td>
			<td>Nintendo DS browser</td>
			<td>Nintendo DS</td>

			<td>8.5</td>
			<td>C/A<sup>1</sup></td>
		</tr>
		<tr>
			<td>KHTML</td>
			<td>Konqureror 3.1</td>

			<td>KDE 3.1</td>
			<td>3.1</td>
			<td>C</td>
		</tr>
		<tr>
			<td>KHTML</td>
			<td>Konqureror 3.3</td>

			<td>KDE 3.3</td>
			<td>3.3</td>
			<td>A</td>
		</tr>
		<tr>
			<td>KHTML</td>
			<td>Konqureror 3.5</td>

			<td>KDE 3.5</td>
			<td>3.5</td>
			<td>A</td>
		</tr>
		<tr>
			<td>Tasman</td>
			<td>Internet Explorer 4.5</td>

			<td>Mac OS 8-9</td>
			<td>-</td>
			<td>X</td>
		</tr>
		<tr>
			<td>Tasman</td>
			<td>Internet Explorer 5.1</td>

			<td>Mac OS 7.6-9</td>
			<td>1</td>
			<td>C</td>
		</tr>
		<tr>
			<td>Tasman</td>
			<td>Internet Explorer 5.2</td>

			<td>Mac OS 8-X</td>
			<td>1</td>
			<td>C</td>
		</tr>
		<tr>
			<td>Misc</td>
			<td>NetFront 3.1</td>

			<td>Embedded devices</td>
			<td>-</td>
			<td>C</td>
		</tr>
		<tr>
			<td>Misc</td>
			<td>NetFront 3.4</td>

			<td>Embedded devices</td>
			<td>-</td>
			<td>A</td>
		</tr>
		<tr>
			<td>Misc</td>
			<td>Dillo 0.8</td>

			<td>Embedded devices</td>
			<td>-</td>
			<td>X</td>
		</tr>
		<tr>
			<td>Misc</td>
			<td>Links</td>

			<td>Text only</td>
			<td>-</td>
			<td>X</td>
		</tr>
		<tr>
			<td>Misc</td>
			<td>Lynx</td>

			<td>Text only</td>
			<td>-</td>
			<td>X</td>
		</tr>
		<tr>
			<td>Misc</td>
			<td>IE Mobile</td>

			<td>Windows Mobile 6</td>
			<td>-</td>
			<td>C</td>
		</tr>
		<tr>
			<td>Misc</td>
			<td>PSP browser</td>

			<td>PSP</td>
			<td>-</td>
			<td>C</td>
		</tr>
		<tr>
			<td>Other browsers</td>
			<td>All others</td>

			<td>-</td>
			<td>-</td>
			<td>U</td>
		</tr>
	  <!--Loop end-->
	</tbody>
</table>

<?php
mysql_free_result($theme);
?>
</div>
